

import os
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2"
import tensorflow as tf
from tensorflow import keras
from matplotlib import pyplot as plt
from matplotlib import patches
import numpy as np
import base64
from io import BytesIO
import cv2
print(tf.__version__)
modelPath = "model2"
keras.models.load_model(modelPath)

